package com.glitter.player.springbootinfluxdb;

import com.glitter.player.springbootinfluxdb.connect.InfluxDBConnect;
import lombok.Getter;
import org.springframework.stereotype.Component;

/**
 * @program:
 * @author: Player
 * @create: 2019-09-04
 **/
@Component
public class InfluxDB {
    @Getter
    private InfluxDBConnect influxDBConnect;
    public InfluxDB() {
        this.influxDBConnect = new InfluxDBConnect("admin", "admin", "http://127.0.0.1:8086", "test");

    }
}
